<?php 
/**
 * via entity view
 * 
 *
 */

$via = $vars['entity'];

echo "<li class='via_list_full'>
		<h5>$via->title -  Grado: $via->grado </h5>
		<div style='float:left'>";

echo elgg_view('output/url', array(
		'href' => elgg_get_site_url() . 'climbia/perfil/addVia?via_guid=' . $via->guid,
		'text' => "<input type='button' style='color: white;' class='elgg-button elgg-button-submit' value='Anotar Via'>",
		'is_action' => true,
		'is_trusted' => true,
	));
echo "</div></li>";
?>
